From 283fe35f2e8728c9a88962074c754295d7e982b6 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 13 Jan 2011 00:11:02 +0000 Subject: [PATCH] Fix broken fileExistsBatch() in ForeignAPIRepo since r51673 --- includes/filerepo/ForeignAPIRepo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index e903e55f44..0c36b03c85 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -118,7 +118,7 @@ class ForeignAPIRepo extends FileRepo { } } - $results = $this->fetchImageQuery( array( 'titles' => implode( $files, '|' ), + $data = $this->fetchImageQuery( array( 'titles' => implode( $files, '|' ), 'prop' => 'imageinfo' ) ); if( isset( $data['query']['pages'] ) ) { $i = 0; -- 2.20.1